package com.cmf.myproject.dal.mybatis.model;

import java.io.Serializable;
import java.util.Date;

public class BossUser implements Serializable {
    /**
     * 
     * @mbggenerated
     */
    private Long id;

    /**
     * 用户名
     * @mbggenerated
     */
    private String userName;

    /**
     * 密码
     * @mbggenerated
     */
    private String password;

    /**
     * 昵称/备注名
     * @mbggenerated
     */
    private String nick;

    /**
     * 电话号码
     * @mbggenerated
     */
    private String phone;

    /**
     * 是否锁定
     * @mbggenerated
     */
    private Boolean isLocked;

    /**
     * 外键-用户权限关系ID
     * @mbggenerated
     */
    private Long userRoleId;

    /**
     * 
     * @mbggenerated
     */
    private Date createTime;

    /**
     * 
     * @mbggenerated
     */
    private Date updateTime;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table boss_user
     *
     * @mbg.generated
     */
    private static final long serialVersionUID = 1L;

    /**
     * 
     * @mbggenerated
     */
    public Long getId() {
        return id;
    }

    /**
     * 
     * @param id 
     * @mbggenerated
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 用户名
     * @mbggenerated
     */
    public String getUserName() {
        return userName;
    }

    /**
     * 用户名
     * @param userName 用户名
     * @mbggenerated
     */
    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    /**
     * 密码
     * @mbggenerated
     */
    public String getPassword() {
        return password;
    }

    /**
     * 密码
     * @param password 密码
     * @mbggenerated
     */
    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    /**
     * 昵称/备注名
     * @mbggenerated
     */
    public String getNick() {
        return nick;
    }

    /**
     * 昵称/备注名
     * @param nick 昵称/备注名
     * @mbggenerated
     */
    public void setNick(String nick) {
        this.nick = nick == null ? null : nick.trim();
    }

    /**
     * 电话号码
     * @mbggenerated
     */
    public String getPhone() {
        return phone;
    }

    /**
     * 电话号码
     * @param phone 电话号码
     * @mbggenerated
     */
    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    /**
     * 是否锁定
     * @mbggenerated
     */
    public Boolean getIsLocked() {
        return isLocked;
    }

    /**
     * 是否锁定
     * @param isLocked 是否锁定
     * @mbggenerated
     */
    public void setIsLocked(Boolean isLocked) {
        this.isLocked = isLocked;
    }

    /**
     * 外键-用户权限关系ID
     * @mbggenerated
     */
    public Long getUserRoleId() {
        return userRoleId;
    }

    /**
     * 外键-用户权限关系ID
     * @param userRoleId 外键-用户权限关系ID
     * @mbggenerated
     */
    public void setUserRoleId(Long userRoleId) {
        this.userRoleId = userRoleId;
    }

    /**
     * 
     * @mbggenerated
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 
     * @param createTime 
     * @mbggenerated
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 
     * @mbggenerated
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * 
     * @param updateTime 
     * @mbggenerated
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table boss_user
     *
     * @mbg.generated
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", userName=").append(userName);
        sb.append(", password=").append(password);
        sb.append(", nick=").append(nick);
        sb.append(", phone=").append(phone);
        sb.append(", isLocked=").append(isLocked);
        sb.append(", userRoleId=").append(userRoleId);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}